package com.elderly.dao;

import com.elderly.model.Entertainment;
import com.elderly.model.EntertainmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EntertainmentMapper {
    long countByExample(EntertainmentExample example);

    int deleteByExample(EntertainmentExample example);

    int insert(Entertainment record);

    int insertSelective(Entertainment record);

    List<Entertainment> selectByExample(EntertainmentExample example);

    int updateByExampleSelective(@Param("record") Entertainment record, @Param("example") EntertainmentExample example);

    int updateByExample(@Param("record") Entertainment record, @Param("example") EntertainmentExample example);
}